package com.huilian.iotbox.client.service.impl;

import com.huilian.iotbox.client.service.UserService;
import com.huilian.iotbox.data.dao.UserCommonDao;
import com.huilian.iotbox.data.po.User;
import com.huilian.iotbox.data.vo.UserVo;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserCommonDao userCommonDao;

    @Override
    public UserVo findUser(Integer userId) {
        return userCommonDao.findUser(userId);
    }

}
